package com.it.tydic.estate.module.model.inner;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import javax.persistence.*;

@Table(name = "tb_customer_events")
@Data
public class TbCustomerEvents {
    /**
     * 主键
     */
    @Id
    @Column(name = "UID")
    private String uid;

    /**
     * 发生日期
     */
     @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @Column(name = "OCCURRENCE_DATE")
    private Date occurrenceDate;

    /**
     * 内容
     */
    @Column(name = "CONTENT")
    private String content;

    /**
     * 重要等级
     */
    @Column(name = "IMPORTANCE_LEVEL")
    private String importanceLevel;

    /**
     * 类别
     */
    @Column(name = "TYPE")
    private String type;

    /**
     * 备注
     */
    @Column(name = "BZ")
    private String bz;

    /**
     * 入单人
     */
    @Column(name = "RECORDER")
    private String recorder;

    /**
     * 入单时间
     */
     @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @Column(name = "RECORDING_DATE")
    private Date recordingDate;
    /**
     * 房间id
     */
    @Column(name = "FJBH")
    private String fjbh;
    /**
     *作废标记
     */
    @Column(name = "ZFBJ")
    private String zfbj;
    /**
     * 用户id
     */
    @Column(name = "CODE_ID")
    private String codeId;
    /**
     * 管理处
     */
    @Column(name = "GLC")
    private String glc;
    /**
     * 创建人
     */
    @Column(name = "CUSER_ID")
    private String cuserId;
    /**
     * 修改人
     */
    @Column(name = "UUSER_ID")
    private String uuserId;
    /**
     * 创建时间
     */
    @Column(name = "CJSJ")
    private Date cjsj;
    /**
     * 修改时间
     */
    @Column(name = "XGSJ")
    private Date xgsj;
    /**
     * 楼宇名称
     */
    @Column(name = "LYMC")
    private String lymc;




    public String getGlc() {
        return glc;
    }

    public void setGlc(String glc) {
        this.glc = glc;
    }

    public String getCodeId() {
        return codeId;
    }

    public void setCodeId(String codeId) {
        this.codeId = codeId;
    }

    /**
     * 获取主键
     *
     * @return UID - 主键
     */
    public String getUid() {
        return uid;
    }

    /**
     * 设置主键
     *
     * @param uid 主键
     */
    public void setUid(String uid) {
        this.uid = uid;
    }

    /**
     * 获取发生日期
     *
     * @return OCCURRENCE_DATE - 发生日期
     */
    public Date getOccurrenceDate() {
        return occurrenceDate;
    }

    /**
     * 设置发生日期
     *
     * @param occurrenceDate 发生日期
     */
    public void setOccurrenceDate(Date occurrenceDate) {
        this.occurrenceDate = occurrenceDate;
    }

    /**
     * 获取内容
     *
     * @return CONTENT - 内容
     */
    public String getContent() {
        return content;
    }

    /**
     * 设置内容
     *
     * @param content 内容
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * 获取重要等级
     *
     * @return IMPORTANCE_LEVEL - 重要等级
     */
    public String getImportanceLevel() {
        return importanceLevel;
    }

    /**
     * 设置重要等级
     *
     * @param importanceLevel 重要等级
     */
    public void setImportanceLevel(String importanceLevel) {
        this.importanceLevel = importanceLevel;
    }

    /**
     * 获取类别
     *
     * @return TYPE - 类别
     */
    public String getType() {
        return type;
    }

    public String getFjbh() {
        return fjbh;
    }

    public void setFjbh(String fjbh) {
        this.fjbh = fjbh;
    }

    /**
     * 设置类别
     *
     * @param type 类别
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * 获取备注
     *
     * @return BZ - 备注
     */
    public String getBz() {
        return bz;
    }

    /**
     * 设置备注
     *
     * @param bz 备注
     */
    public void setBz(String bz) {
        this.bz = bz;
    }

    /**
     * 获取入单人
     *
     * @return RECORDER - 入单人
     */
    public String getRecorder() {
        return recorder;
    }

    /**
     * 设置入单人
     *
     * @param recorder 入单人
     */
    public void setRecorder(String recorder) {
        this.recorder = recorder;
    }

    /**
     * 获取入单时间
     *
     * @return RECORDING_DATE - 入单时间
     */
    public Date getRecordingDate() {
        return recordingDate;
    }

    /**
     * 设置入单时间
     *
     * @param recordingDate 入单时间
     */
    public void setRecordingDate(Date recordingDate) {
        this.recordingDate = recordingDate;
    }

    public String getZfbj() {
        return zfbj;
    }

    public void setZfbj(String zfbj) {
        this.zfbj = zfbj;
    }
}